package cn.wolfcode.car.service;

import cn.wolfcode.car.domain.Consumption;
import cn.wolfcode.car.domain.Permission;
import cn.wolfcode.car.domain.Role;
import cn.wolfcode.car.qo.BusinessReportQueryObject;
import cn.wolfcode.car.qo.ConsumptionQueryObject;
import cn.wolfcode.car.vo.BusinessReportVO;
import com.github.pagehelper.PageInfo;
import org.apache.poi.ss.usermodel.Workbook;

import java.util.Date;
import java.util.List;

public interface IConsumptionService {
    int delete(Long id);

    int save(Consumption record);

    Consumption get(Long id);

    PageInfo<Consumption> list(ConsumptionQueryObject qo);


    int update(Consumption record);


    void updateStatus(Long id, Integer status);

    void updateStatusShenhe(Long id, Integer status, Date date, Long empid);

    void updateStatusShenheHuaiZhang(Long id, Integer status, Date date, Long auditorid);

    PageInfo<BusinessReportVO> selectByGroup(BusinessReportQueryObject qo);

    List<BusinessReportVO> selectByGroupNotLimit(BusinessReportQueryObject qo);
}
